package com.pan.note.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 时间线对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("TimeLineNote")
public class TimeLineNoteDto implements Serializable {

    @TableId
    private Long id;
    @TableField(value = "author")
    private String author;
    @TableField(value = "author_id")
    private int authorId;
    @TableField(value = "note_text")
    private String noteText;
    @TableField(value = "create_time")
    private String createTime;
    @TableField(value = "modify_time")
    private String modifyTime;
    @TableField(value = "version")
    private int version;
    @TableField(value = "logic_delete")
    @TableLogic(value = "0",delval = "1")
    private boolean logicDelete;
}
